package com.hjl.service.role;

import com.hjl.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleService {

    public List<Role> getListInfo(String roleName);

    public int addInfos(Role role);

    public int updateRoleInfoById(Role role);

    public int totalCount(Integer userRole);

    public int deleteUserInfo(Integer userRole);

    public int deleteRoleInfos(Integer id);

}
